package com.huwaiwai.fork_join.demo02;

import java.util.concurrent.Callable;
import java.util.concurrent.ExecutionException;

/**
 * 缓存功能接口
 * Created by huweiwei on 2017/4/18.
 */
public interface IMyCache {

    Object get(String key, Callable callable) throws ExecutionException, InterruptedException;

}
